//
//  NSMutableArray+LW.m
//  LWShopItem
//
//  Created by apple on 17/5/26.
//  Copyright © 2017年 LWShop.com. All rights reserved.
//

#import "NSMutableArray+LW.h"

@implementation NSMutableArray (LW)

- (id)objectAtIndexCheck:(NSUInteger)index
{
    if (index >= [self count]) {
        return nil;
    }
    
    id value = [self objectAtIndex:index];
    if (value == [NSNull null]) {
        return nil;
    }
    return value;
}

@end
